package com.rxmvp.rxjavademo.RxRetrofit;

import rx.Observable;

/**
 * Created by Administrator on 2017/1/12.
 */

public class RxRetrofitUtils {

    private static final Observable.Transformer baseTransformer = new BaseTransformer<>();

    @SuppressWarnings("unchecked")
    public static <T> Observable<? extends T> initObservable(Observable<T> observable) {
        return observable.compose(baseTransformer);
    }



}
